<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
    <head>
        <title>TODO supply a title</title>
    </head>
    <body>
        <h:form>
            <h:panelGrid>
                <h:outputLabel value="Title" for="title" />
                <h:inputText id="title" value="#{bookController.currentBook.title}"/>
                
                <h:outputLabel value="Author" for="author" />
                <h:inputText id="author" value="#{bookController.currentBook.author}"/>
                
                <h:outputLabel value="Price"  for="price" />
                <h:inputText id="price" value="#{bookController.currentBook.price}"/>
            </h:panelGrid>
            <h:commandButton value="Create" action="#{bookController.doCreate()}"/>
        </h:form>
    </body>
</html>
